﻿/// Write a program to convert hexadecimal numbers to binary numbers (directly).

using System;

namespace c_sh_II_lek_7_numeral
{
    class zad5
    {
        static void Main()
        {
            Console.WriteLine(Convert.ToString(Convert.ToInt64(Console.ReadLine(), 16), 2));
        }
    }
}
